package com.gmail.amos.zuercher.StonemenMustDie.Handler;

import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityDamageByEntityEvent;

public class PlayerDamageHandler implements Listener {

	private IPlayerDamageHandler iPlayerInterface;

	public PlayerDamageHandler(IPlayerDamageHandler stonemenmustdie) {
		this.iPlayerInterface = stonemenmustdie;
	}
	
	@EventHandler
	private void handle(EntityDamageByEntityEvent  event) {
		iPlayerInterface.playerDamage(event);
	}

}
